package com.tkx.dxb.service.article.feign.fallback;

import com.tkx.dxb.common.base.result.R;
import com.tkx.dxb.service.article.feign.OssFileService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by victor on 2021/4/9 9:27
 *
 * @description:
 */
@Service
@Slf4j
public class OssFileServiceFallBack implements OssFileService {
    @Override
    public R removeFile(String url) {
        log.info("熔断保护");
        return R.error();
    }

    @Override
    public R removeFiles(List<String> urls) {
        log.info("熔断保护");
        return R.error();
    }
}
